package com.preskool.mapper;

import com.preskool.po.Expenses;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExpensesMapper {
    int deleteByPrimaryKey(Integer exid);

    int insert(Expenses record);

    int insertSelective(Expenses record);

    Expenses selectByPrimaryKey(Integer exid);

    int updateByPrimaryKeySelective(Expenses record);

    int updateByPrimaryKey(Expenses record);
    //查询全部数据,进行分页
    List<Expenses> selectAllPaging(Integer currentPage, Integer pageSize);
}